package com.useeinfo.service.impl;

import com.useeinfo.dao.ContactUsMapper;
import com.useeinfo.module.ContactUs;
import com.useeinfo.service.IContactUs;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * Created by xianping on 2017/1/20.
 */
@Component
public class ContactUsImpl implements IContactUs {

    @Autowired
    private ContactUsMapper contactUsMapper;

    @Override
    public void insertContactUs(ContactUs contactUs) {
        contactUsMapper.insert(contactUs);
    }
}
